<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>测试页面</title>
<style type="text/css">
	a{
		text-decoration: none;
	}
</style>
</head>
<body>
<div>
	<table border="1">
	<thead>
		<tr>
			<td>编号</td>
			<td>姓名</td>
			<td>年龄</td>
			<td>操作</td>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="lists" items="${list }">
		<tr>
			<td>${lists.id }</td>
			<td>${lists.name }</td>
			<td>${lists.age }</td>
			<td>
				<a href="<%= request.getContextPath()%>/user/deleteUser?id=${lists.id}">删除</a>
				<a href="<%= request.getContextPath()%>/user/upUser?id=${lists.id}">修改</a>
			</td>
		</tr>
	</c:forEach>
	</tbody>
</div>
</body>
</html>